body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: #cfce6c;
    color: #000000;
}

/* ----- CONTAINER ----- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ----- IMAGES ----- */
img {
    width: 300px;        /
    height: 200px;      
    object-fit: cover;   /* évite la déformation */
    border-radius: 10px;
}

/* ----- HEADER ----- */
header {
    background: linear-gradient(135deg, #292929 0%, #1a1a1a 100%);
    color: rgb(254, 255, 185);
    text-align: center;
    padding: 60px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

header .logo img {
    width: 300px;        /
    height: 200px;      
    object-fit: cover;  
    border-radius: 10px;
    transition: transform 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.05);
}

.slogan {
    opacity: 0.8;
    font-size: 1.2em;
    margin-top: 10px;
    font-style: italic;
}

/* ----- NAV ----- */
nav {
    background: #ffca2c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    padding: 15px 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 10px;
}

nav a {
    text-decoration: none;
    color: #222;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: rgba(255,255,255,0.3);
    color: #1a1a1a;
}

/* ----- SECTIONS ----- */
.section {
    padding: 80px 0;
    background: white;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.section:hover {
    transform: translateY(-5px);
}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #292929;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffca2c;
}

.section:nth-child(1) { animation-delay: 0.2s; }
.section:nth-child(2) { animation-delay: 0.4s; }
.section:nth-child(3) { animation-delay: 0.6s; }

/* ----- MEMBRES ----- */
.membres {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
}

.membre {
    flex: 1 1 200px;
    max-width: 250px;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.membre:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.membre img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.membre:hover img {
    filter: grayscale(0%);
}

/* ----- VOITURE ----- */
.voiture-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.voiture-text {
    flex: 1;
}

/* ----- TABLEAU ----- */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}

table th {
    background: #ffca2c;
    color: #222;
    font-weight: bold;
}

table th, table td {
    padding: 15px;
    border: 1px solid #eee;
}

table tr:nth-child(even) {
    background: #f9f9f9;
}

table tr:hover {
    background: #f0f0f0;
}

/* ----- FOOTER ----- */
footer {
    background: linear-gradient(135deg, #292929 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

footer p {
    margin: 0;
    opacity: 0.8;
}

footer .social-icons {
    margin: 20px 0;
}

footer .social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #ffca2c;
}
.partenaires-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.partenaires-logos a img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.partenaires-logos a:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}
/* ----- ANIMATIONS ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}